package com.dragon.pear.modules.trade.web.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.beans.factory.annotation.Autowired;
import com.dragon.common.spring.business.base.BaseCrudController;
import com.dragon.pear.modules.trade.domain.entity.TradeUserWishEntity;
import com.dragon.pear.modules.trade.web.model.params.create.TradeUserWishCreateParam;
import com.dragon.pear.modules.trade.web.model.params.update.TradeUserWishUpdateParam;
import com.dragon.pear.modules.trade.web.model.params.search.TradeUserWishSearchParam;
import com.dragon.pear.modules.trade.web.model.params.order.TradeUserWishOrderParam;
import com.dragon.pear.modules.trade.web.model.results.TradeUserWishResult;
import com.dragon.pear.modules.trade.dao.repository.TradeUserWishRepository;
import com.dragon.pear.modules.trade.service.assistants.converters.TradeUserWishConverter;
import com.dragon.pear.modules.trade.service.def.TradeUserWishService;
import com.dragon.pear.modules.trade.web.api.TradeUserWishApi;

/**
 * @author Chris Chan
 * Create on 2025-09-30 22:06
 * Use for: 心愿 接口实现
 * Explain:
 * 
 */
@RestController
@RequestMapping("trade/user/wish")
public class TradeUserWishController implements TradeUserWishApi, BaseCrudController<
        TradeUserWishEntity,
        TradeUserWishCreateParam,
        TradeUserWishUpdateParam,
        TradeUserWishSearchParam,
        TradeUserWishOrderParam,
        TradeUserWishResult,
        TradeUserWishRepository,
        TradeUserWishConverter,
        TradeUserWishService
        > {

    @Autowired
    TradeUserWishService tradeUserWishService;

    @Override
    public TradeUserWishService getService() {
        return tradeUserWishService;
    }
}